Loading TOC...

MarkLogic 9 Product Documentation
DELETE /manage/v2/packages/{pkgname}

Summary

[DEPRECATED: use GET /manage/v3 and POST /manage/v3 instead.]

This resource address deletes the named package (pkgname).

Response

Upon success, MarkLogic Server returns status code 204 (No Content).

Required Privileges

This operation requires the manage-admin role, or the following privilege:

http://marklogic.com/xdmp/privileges/manage

Example

 
     curl -X DELETE --digest -u admin:admin -H "Content-type: application/xml" \
     "http://localhost:8002/manage/v2/packages/test-package" 

     ==> Deletes the package named "test-package". 

    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.